package com.hd.pzhwlxt.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

/**
@create: 2022-09-26 19:03
@author: 怀念天空
@Description: 
*/

@Getter
@Setter
@ToString
@NoArgsConstructor
@TableName(value = "route_tbl")
public class RouteTbl {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 起始地
     */
    @TableField(value = "start_place")
    private String startPlace;

    /**
     * 目的地
     */
    @TableField(value = "end_place")
    private String endPlace;

    /**
     * 专线名称
     */
    @TableField(value = "dedicated_line")
    private String dedicatedLine;

    /**
     * 0 汽运，1 铁路
     */
    @TableField(value = "`type`")
    private Integer type;
}